package com.me.forum.request;

import com.me.forum.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public final class CategoryRequest extends BaseEntity {
    private String name;
    
    private String[] userIds;

    public Boolean isLegal() {
        if (name != null) {
            return true;
        }
        return false;
    }
}
